package com.ys.nms.module.business.controller.admin.ipv4Mac.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - IPMAC新增/修改 Request VO")
@Data
public class Ipv4MacSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10088")
    private Long id;

    @Schema(description = "端口ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9372")
    @NotNull(message = "端口ID不能为空")
    private Integer portId;

    @Schema(description = "设备ID", example = "28381")
    private Integer deviceId;

    @Schema(description = "mac地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "mac地址不能为空")
    private String macAddress;

    @Schema(description = "ipv4地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "ipv4地址不能为空")
    private String ipv4Address;

    @Schema(description = "SNMP 上下文名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "SNMP 上下文名称不能为空")
    private String contextName;

}